package demo3;


    class B {
        public B() {
            func();
        }

        public void func() {
            System.out.println("B::func()...");
        }
    }


public class Tect {
        public static void main(String[] args) {
            D d = new D();
        }
}

